////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011-2012 www.iflytek.com. All Rights Reserved.
//  This software for customer relationship management system, developed by Noo team.
//  Software code and design for the team, copy rights reserved.
////////////////////////////////////////////////////////////////////////////////

package com.iflytek.ci.cpms.domain;

import java.io.Serializable;

/**
 * <p>
 * 团队信息数据库映射对象.
 * </p>
 * 
 * @author poplar.mdzhang
 * @since JDK 1.5
 */
public class Team implements Serializable {
	/** serial version */
	private static final long serialVersionUID = 8320321909303737882L;
	/** team ID */
	private long id;
	/** team name */
	private String name;
	/** team description */
	private String description;
	/** team leader */
	private long lead;
	/** team size */
	private int size;

	/**
	 * 获取团队id
	 * 
	 * @return 团队id
	 */
	public long getId() {
		return id;
	}

	/**
	 * 设置团队id
	 * 
	 * @param id
	 *            团队id
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * 获取团队名
	 * 
	 * @return 团队称呼
	 */
	public String getName() {
		return name;
	}

	/**
	 * 设置团对的名称
	 * 
	 * @param name
	 *            团队名
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 获取团队的描述信息
	 * 
	 * @return 描述内容
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * 设置团队描述
	 * 
	 * @param description
	 *            描述信息
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * 获取负责人id
	 * 
	 * @return 负责人id
	 */
	public long getLead() {
		return lead;
	}

	/**
	 * 设置负责人id
	 * 
	 * @param lead
	 *            负责人id
	 */
	public void setLead(long lead) {
		this.lead = lead;
	}

	/**
	 * 获取团队人数
	 * 
	 * @return 团队人数
	 */
	public int getSize() {
		return size;
	}

	/**
	 * set team size
	 * 
	 * @param size
	 *            团队人数
	 */
	public void setSize(int size) {
		this.size = size;
	}

}
